package com.accp.demo.pojo.finance;

import java.io.Serializable;
import java.util.Date;

import com.accp.demo.pojo.base.Customer;

/**
 * 客户账款明细表
 * @author Administrator
 *
 */
public class CustomerCredit implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6691525945843630095L;

	
	private Integer  infoNo;						//单号
	private Integer  orderForm;						//来源单别
	private Integer  orderNoForm;					//来源单号
	private Customer customer;			//客户外键
	private Date  createTime;					//创单时间，单据日期
	private double  startAmount;				//原单余额
	private double  nowAmount;					//现行余额
	private Integer  logicStatu;					//逻辑状态
	public Integer getInfoNo() {
		return infoNo;
	}
	public void setInfoNo(Integer infoNo) {
		this.infoNo = infoNo;
	}
	public Integer getOrderForm() {
		return orderForm;
	}
	public void setOrderForm(Integer orderForm) {
		this.orderForm = orderForm;
	}
	public Integer getOrderNoForm() {
		return orderNoForm;
	}
	public void setOrderNoForm(Integer orderNoForm) {
		this.orderNoForm = orderNoForm;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public double getStartAmount() {
		return startAmount;
	}
	public void setStartAmount(double startAmount) {
		this.startAmount = startAmount;
	}
	public double getNowAmount() {
		return nowAmount;
	}
	public void setNowAmount(double nowAmount) {
		this.nowAmount = nowAmount;
	}
	public Integer getLogicStatu() {
		return logicStatu;
	}
	public void setLogicStatu(Integer logicStatu) {
		this.logicStatu = logicStatu;
	}
	
	public CustomerCredit() {
		super();
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public CustomerCredit(Integer infoNo, Integer orderForm, Integer orderNoForm, Customer customer, Date createTime,
			double startAmount, double nowAmount, Integer logicStatu) {
		super();
		this.infoNo = infoNo;
		this.orderForm = orderForm;
		this.orderNoForm = orderNoForm;
		this.customer = customer;
		this.createTime = createTime;
		this.startAmount = startAmount;
		this.nowAmount = nowAmount;
		this.logicStatu = logicStatu;
	}
	@Override
	public String toString() {
		return "CustomerCredit [infoNo=" + infoNo + ", orderForm=" + orderForm + ", orderNoForm=" + orderNoForm
				+ ", customer=" + customer + ", createTime=" + createTime + ", startAmount=" + startAmount
				+ ", nowAmount=" + nowAmount + ", logicStatu=" + logicStatu + "]";
	}
	
}
